package demo.xlj.yuyi.studentapp.entitiy;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 作者：项路俊 on 2018/2/28 0028
 * 邮箱：ThanksForCode@gmail.com
 * 介绍：公告实体类，暂停使用
 */
@Entity
public class Announcement {
    @Id
    private Long id;
    private String title;
    private String person;
    private String content;
    private String time;
    @Transient
    private int tempUsageCount;
    @Generated(hash = 1125587630)
    public Announcement(Long id, String title, String person, String content,
            String time) {
        this.id = id;
        this.title = title;
        this.person = person;
        this.content = content;
        this.time = time;
    }
    @Generated(hash = 2100938548)
    public Announcement() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getPerson() {
        return this.person;
    }
    public void setPerson(String person) {
        this.person = person;
    }
    public String getContent() {
        return this.content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getTime() {
        return this.time;
    }
    public void setTime(String time) {
        this.time = time;
    }

}
